package com.hgyc.mom.wms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hgyc.mom.system.entity.SysUser;
import com.hgyc.mom.wms.entity.WmsWarehouseUser;
import com.hgyc.mom.wms.mapper.WmsWarehouseUserMapper;
import com.hgyc.mom.wms.service.WmsWarehouseUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仓库用户Service业务层实现
 *
 * @author fwj
 * @since 2025-05-14
 */
@Slf4j
@Service
public class WmsWarehouseUserServiceImpl extends ServiceImpl<WmsWarehouseUserMapper, WmsWarehouseUser> implements WmsWarehouseUserService {

    @Override
    public List<SysUser> getWarehouseUsers(Long warehouseId) {
        return baseMapper.getWarehouseUsers(warehouseId);
    }
}